<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <meta charset="UTF-8">
    <title>管理页面</title>
</head>
<body>
    <h1>管理页面</h1>
    <p><a href="/admin" shiro:hasRole="ADMIN">admin</a></p>
    <p><a href="/user" shiro:hasRole="USER">user</a></p>
    <p><a href="/logout">登出</a></p>
    <p>shiroSession:<span th:text="${shiroSession}"></span></p>
    <p>servletSession:[[${servletSession}]]</p>
</body>
</html>